package com.klm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "translate.cache.schedule")
public class TranslateCacheScheduleProperties {
    /**
     * 缓存预热定时任务cron表达式
     */
    private String warmUp = "0 0 * * * ?";

    /**
     * 缓存清理定时任务cron表达式
     */
    private String cleanup = "0 0 2 * * ?";
} 